body,p,h1,h2,h3,h4,dl,dd{
    margin: 0;
}
ul,ol{
    margin: 0;
    padding: 0;
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    vertical-align: middle;
}
button{
    border: none;
    background: none;
    padding: 0;
    outline: none;
    cursor: pointer;
}
body{
    background: #f4f4f4;
}


/* 登录弹窗 */
.dialog{
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, .7);

	position: fixed;
	left: 0;
	top: 0;
	z-index: 10;

	display: none;
}
.dialog.show{
	display: flex;
	justify-content: center;
	align-items: center;
}
.dialog .wrap{
	position: relative;
}
.dialog h3{
	font-size: 24px;
	line-height: 42px;
	text-align: center;
	color: #fffefe;
}
.dialog .close{
	width: 25px;
	height: 25px;
	position: absolute;
	top: 6px;
	right: 6px;
	background: url(../images/dia-login-close.png) no-repeat center;
}


/* 轮播图公用样式 */
.carousel{
	position: relative;
	overflow: hidden;
}
.carouselInner{
	display: flex;
	position: absolute;
	left: 0;
}
.carouselIndicators{
	position: absolute;
	display: flex;
}
.carouselIndicators span{
	cursor: pointer;
	background: #fff;
}
.carouselIndicators span:hover,.carouselIndicators span.active{
	background: #feb012;
}
.carousel .btn{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	cursor: pointer;
}
.carousel .prev{
	left: 0;
}
.carousel .next{
	right: 0;
}

/* 选项卡 */
.tabContent{
	display: none;
}
.tabContent.active{
	display: block;
}

/* more */
.more{
	display: flex;
	justify-content: center;
	align-items: center;
}
.more a{
	width: 17px;
	height: 17px;
	background: url(../images/spr_icon.png);
}

/* 滚动条 */
.scroll{
	position: relative;
	overflow: hidden;
}
.scrollContent{
	position: absolute;
	left: 0;
	top: 0;
}
.scrollBar{
	width: 6px;
	height: 100%;
	background: rgba(200,200,200,.7);

	position: absolute;
	top: 0;
	right: 0;

	border-radius: 8px;
}
.scrollBar span{
	display: block;
	width: 100%;
	height: 60px;
	border-radius: 8px;
	background: rgba(0, 0, 0, .5);

	position: absolute;
	top: 0;
}

/* box */
.box{
	width: 1200px;
	margin: 40px auto 0;
	display: flex;
	justify-content: space-between;
}

/* publicHead */
.publicHead{
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}
.publicHead h3{
	height: 30px;
	font-size: 24px;
	color: #24262d;
	display: flex;
	align-items: center;
}
.publicHead h3::before{
	content: '';
	width: 26px;
	height: 26px;
	margin-right: 10px;
	background: url(../images/sprites.png);
}
.publicHead ul{
	height: 30px;
	display: flex;
	border-bottom: 1px solid #dedede;
}
.publicHead li{
	font-size: 16px;
	color: #000;
	padding: 0 30px 3px;
	position: relative;
	cursor: pointer;
}
.publicHead li:last-child{
	padding-right: 0;
}
.publicHead li.active, .publicHead li:not(:last-child):hover{
	color: #efa611;
	font-weight: bold;
	border-bottom: 2px solid #efa611;
}
/* li标签除了第一个与最后一个其余的都有hover状态 */
.publicHead li:not(:last-child):not(.active):hover{
	font-weight: normal;
}
.publicHead li.active::after, .publicHead li:not(:last-child):hover::after{
	content: '';
	width: 10px;
	height: 6px;
	background: url(../images/sprites.png) -195px -30px;

	position: absolute;
	top: 26px;
	left: 50%;
	margin-left: -5px;
}

/* 字体图标 */
@font-face {
	font-family: 'iconfont';
	src: url('../font/iconfont.ttf?t=1628647438998') format('truetype');
}
.iconfont {
	font-family: "iconfont" !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

